﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entity
{
    [Serializable]
    public partial class Res_Item : EntityBase
    {
        public IEnumerable<Res_ItemCategory> Res_ItemCategory_Extend { get; set; }
        public int CategoryID { get; set; }
        public int VID { get; set; }

        public override object[] PrimaryKey
        {
            get { return new object[] { this.ID }; }
        }

        partial void OnCreated()
        {
            base.IsRealDeleted = false;//假删除
            base.Initialization();//基类的某些属性初始化
            this.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(base.PropertyChangedEvent);//初始实体时，先订阅列修改的事件
        }

    }
    [Serializable]
    public class Res_Item_Ext : Res_Item { }
}
